<%-- 
    Document   : edititem
    Created on : Aug 11, 2013, 3:34:22 AM
    Author     : appi
--%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> 
<%@page import="beans.item"%>
<%@page import="java.util.ArrayList"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
    <center>
        
       
             <c:set var="i" scope="session" value="${sessionScope.edit}"></c:set>
             <table border="1">
                 <form action="../UpdateItemAction.do" method="post">
                     <input type="hidden" name="iid" value="${i.id}">
             <tr>
                <td>item name
                    </td>
                <td>
                    <input type="text" value="<c:out value="${i.iname}"></c:out>" name="iname">
                </td>
            </tr>
            <tr>
                <td>item price
                    </td>
                <td>
            <input type="text" value="<c:out value="${i.iprice}"></c:out>" name="iprice">
            </td>
            </tr>
             <tr>
                <td>item stock
                    </td>
                <td>
                    <input type="text" value="<c:out value="${i.istock}"></c:out>" name="istock">
            </td>
            </tr>
            <tr>
                <td>item sort des
                    </td>
                    
                <td>
                    <input type="text" value="<c:out value="${i.isdesc}"></c:out>" name="isdesc">
                </td>
            </tr>
            <tr>
                <td>item detail des
                    </td>
                <td>
                    <input type="text" value="<c:out value="${i.iddesc}"></c:out>" name="iddesc">
                </td>
            </tr>
        </table>
                <input type="submit" value="update">
    </center>
</body>
</html>
